<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="misc/css/main.css" >
        <title>
    		<?php echo (!empty($pageTitle))? $pageTitle : 'Untitled page' ; ?>
		</title>
  	</head>
  	<body>
        <div>
            <div id="logo">
                <h1>NE Localization system</h1>
                <p>{version 1.3 alpha}</p>
            </div>
        </div>
        <div id="content">
            <form action="index.php?cont=website&amp;act=runaddUser" method="post">
                <h2>Users list</h2>
                <input type="hidden" name="hidWsId" value="<?php echo $wsId; ?>" />
                <?php foreach($users as $user): ?>
                    <input type="checkbox" name="checkedUsers[]" value="<?php echo $user->id; ?>" /><?php echo $user->login; ?>
                    <select name="access[<?php echo $user->id; ?>]">
                        <option value="0">choose type</option>
                        <option value="user">user</option>
                        <option value="translator">translator</option>
                    </select><br/>
                <?php endforeach; ?>
                <input class="button" type="submit" onclick="opener.window.location.reload(); window.close();" name="addUsers" value="done" />
            </form>
        </div>
    </body>
</html>